@import './config.scss';

.el-submenu .el-menu-item {
  font-size: 14px;
  padding-left: 50px !important;
  &.is-active {
    background-color: rgba(245,108,108,0.2) !important;
  }
} 

// 修改一级菜单样式
li.el-submenu.is-opened {
  &.is-active .el-submenu__title { background-color: $mainColor !important;}
}

.close {
  .el-submenu {
    &.is-opened {
      > .el-submenu__title {
        background-color: $mainColor !important;
      }
    }
  }
  
}
.add-prod .el-input__inner {
  height: 30px !important;
  line-height: 30px;
}
// .el-select-dropdown__list {
//   height: 200px !important;
// }

.login .el-input__inner {
  outline: none !important;
      border: none !important;
      background-color: transparent;
      // color: #fff;
}
// 页面导航部分
#nav-wrap .el-submenu__title i {
  color: #fff !important;
}
#nav-wrap .el-submenu .el-menu-item {
  min-width: 150px;
}
#nav-wrap li.el-submenu.is-opened.is-active .el-submenu__title {
  background-color: transparent !important;
}
#nav-wrap li.el-submenu .el-submenu__title:hover {
  background-color: #409EFF !important;
}
#nav-wrap li.el-submenu .el-menu-item:hover {
  background-color: #409EFF !important;
}
#nav-wrap .el-submenu .el-menu-item.is-active {
  background-color: #409EFF !important;
}

.goods-list .el-table td {
  padding: 0 !important;
}

.el-menu--vertical {
  .el-menu {
    background-color: $mainColor !important;
  }
  .el-menu-item {
    line-height: 56px;
  }
  .el-menu-item:hover {
    background-color: $mainColor !important;
  }
}

//table样式
.el-table td, .el-table th {
  text-align: center !important;
}
.el-table th {
  font-size: 14px;
}
.el-table td {
  font-size: 14px;
}
.el-table td, .el-table th {
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #EBEEF5 !important;
}
.el-table td {
  padding: 5px 0 !important;
}
.el-table th {
  font-weight: bold;
  color: #344a5f;
}
// .el-table {
//   border: 0 !important;
// }
.el-table button {
  border: none;
  color: #409EFF;
}

// dialog样式
.el-dialog__body {
  padding: 30px 47px !important;
}
.el-form-item__label {
  text-align: left !important;
}
.el-dialog__footer {
  text-align: center !important;
  .el-button {
    width: 150px;
    margin: 0 11px !important;
  }
}
// 入库单选择商品弹框
.select-prod .el-dialog__body {
  padding: 10px 40px !important;
}
.select-prod .el-table {
  height: 360px;
  overflow: auto;
}
.select-carprod .el-table {
  height: 360px;
  overflow: auto;
}
.select-prod .el-dialog__footer {
  padding: 0 20px 20px;
}
.select-prod .el-table__body-wrapper {
  height: 315px;
  overflow: auto;
}
.select-carprod .el-table__body-wrapper {
  height: 315px;
  overflow: auto;
}

// form 样式
.el-form {
  .el-form-item:last-child {
    margin-bottom: 0 !important;
    font-size: 15px;
  }
}
.inventory-area .el-dropdown-menu__item {
  height: 40px;
  line-height: 40px;
  width: 120px;
  text-align: center;
}

button {
  i {
    font-size: 12px;
  }
  span {
    font-size: 12px;
  }
  
}
.login-form {
  span {
    font-size: 24px;
  }
}

.el-drawer {
  background-color: rgb(48, 65, 86);
  
}
.el-drawer__header {
  color: #fff;
}
.demo-drawer__content {
  width: 100%;
  // height: 100%;
}

.demo-drawer__footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  .el-button {
    width: 40%;
    margin-left:40px;
    margin-right:40px;
  }
}